package com.lwz.laboratory.dao;

import com.lwz.laboratory.entity.Technician;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TechnicianMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Technician record);

    int insertSelective(Technician record);

    Technician selectByPrimaryKey(Integer id);
    Technician selectByworkid(String workid);

    int updateByPrimaryKeySelective(Technician record);

    int updateByPrimaryKey(Technician record);
    List<Technician> getTeclist(@Param("name") String name);
}